//
//  LCPlayViewController.h
//  TheLCNews
//
//  Created by apple on 15/12/4.
//  Copyright © 2015年 LC. All rights reserved.
//

#import "LCBaseViewController.h"
#import <STKAudioPlayer.h>
#import "LCAudelModel.h"
#import "LCPlayerModel.h"
#import "LCPlayerTbCell.h"
@interface LCPlayViewController : LCBaseViewController

@property (nonatomic, strong)STKAudioPlayer *player;

//播放的网址
@property(nonatomic, copy) NSString *playUrl;
@property(nonatomic, copy) NSString *pic;

//存放所有音乐
@property(nonatomic, strong) NSMutableArray *allMusicArray;

//存放点击的第几个cell
@property(nonatomic, assign) NSInteger indexRow;
@property(nonatomic, strong) LCPlayerModel *detailModel;
@property(nonatomic, copy) NSString *name;
@property (nonatomic, strong) UIButton *backButton;
@property (nonatomic, strong) UIButton *playButton;
@property (nonatomic, strong) UIButton *previousButton;
@property (nonatomic, strong) UIButton *nextButton;
@property (nonatomic, strong) UIButton *circleButton;
@property (nonatomic, strong) UIButton *shareButton;
@property (nonatomic, strong) UIButton *voiceButton;
@property (nonatomic, strong) UIImageView *headPicImageView;
@property (nonatomic, strong) UILabel *headTitleNameLabel;
@property (nonatomic, strong) UILabel *headNamelabel;
@property (nonatomic, strong) UISlider *slider;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSArray *titleNameArr;
@property (nonatomic, strong) NSTimer *musicTime;
@property (nonatomic ,strong)NSTimer *timer;  //定时器
@property (nonatomic, strong)NSArray *tempArray;
@property (nonatomic, strong)UIImageView *backImageView;
@property (nonatomic, strong) UISlider *sliderVolumeProgress;
@property (nonatomic, strong)UILabel *labelBeginTim;
@property(nonatomic ,strong)UILabel *labelBEndTim;

@property (nonatomic, strong) UILabel *nowPlayLable;
@property (nonatomic, strong) UIButton *saveButton;
@property (nonatomic, strong)NSArray *searchHistoryArray;

+(LCPlayViewController *)sharePlayer;
- (void)setData:(NSMutableArray *)songs row:(NSInteger)row;




@end
